<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" width="1" height="1" border="0" alt="0" /></td>
	</tr>
</table>

<form action="index.php?id=0&module=siteblocker&mod=setttings&admin=1" name="insertform" method="post" enctype="multipart/form-data">
<input type="hidden" name="act" value="onandoff">
{ext->class_function class="siteblocker" func="get_site_status" assign="is_status"}
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
	<tr>		
		<td height="30" style="font-size:12px; color:#4C4C4C; text-align:left; padding-left:20px; width:150px;">{t t='Įšjungti puslapį'}</td>	
		<td height="30" style="font-size:12px; border-left:1px solid #D6DBDE; color:#4C4C4C; text-align:left; padding-left:20px;"><input type="checkbox" name="status"{if $is_status} checked="checked"{/if}/></td>
		<td height="30" align="center" style="border-right:1px solid #D6DBDE" width="150"><input type="submit" name="{t t='Išsaugoti pakeitimus'}" value="{t t='Išsaugoti pakeitimus'}" class="defaultFormButton"></td>	
	</tr>
</table>
</form>

<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" width="1" height="1" border="0" alt="0" /></td>
	</tr>
</table>
<form action="index.php?id=0&module=siteblocker&mod=setttings&admin=1" name="settingsform" method="post" enctype="multipart/form-data">
<input type="hidden" name="act" value="save">
{ext->class_function class="siteblocker" func="get_info" assign="value"}
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
	<tr>		
		<td height="30" style="font-size:12px; color:#4C4C4C; text-align:left; padding-left:20px; border-bottom:1px solid #D6DBDE;">{t t='Tekstas išjungus puslapį'}</td>	
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
	<tr>		
		<td height="30" style="padding:5px 5px 5px 5px; font-size:12px; color:#4C4C4C; text-align:center; border-bottom:1px solid #D6DBDE;">
		{include file="admin/modules/siteblocker/docum.tpl"}
		</td>	
	</tr>
</table>
{ext->class_function class="siteblocker" func="get_ips" assign="value"}
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
	<tr>		
		<td height="30" style="font-size:12px; color:#4C4C4C; text-align:left; padding-left:20px; border-bottom:1px solid #D6DBDE; border-right:1px solid #D6DBDE;">{t t='Leidžiami'} IP</td>
		<td height="30" style="font-size:12px; color:#4C4C4C; text-align:left; padding-left:20px; border-bottom:1px solid #D6DBDE;">{t t='Blokuojami'} IP</td>
	</tr>
	<tr>		
		<td height="30" style="font-size:12px; color:#4C4C4C; text-align:left; padding:5px 5px 5px 5px; padding-left:20px; border-right:1px solid #D6DBDE;">
			<textarea name="allow_ip" rows="15" style="width:300px;">{$value.allow}</textarea>
		</td>
		<td height="30" style="font-size:12px; color:#4C4C4C; text-align:left; padding:5px 5px 5px 5px;">
			<textarea name="block_ip" rows="15" style="width:300px;">{$value.block}</textarea>
		</td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" width="1" height="1" border="0" alt="0" /></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td bgcolor="#FFFFFF" height="5">						
		<input onClick="doSubmit('settingsform'); return false;" type="button" value="{t t='Išsaugoti pakeitimus'}" class="defaultFormButton" style="margin:10px ">
		</td>		
	</tr>
</table>
</form>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" width="1" height="1" border="0" alt="0" /></td>
	</tr>
</table>